package com.eastfair.venuebooking.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 客户重点关注.
 *
 * @author dqq
 * @date 2022 /6/13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
public class CustomerMainStartDTO implements Serializable {

    @NotNull(message = "用户id不可为空", groups = {CustomerMainDTO.Star.class})
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @NotNull(message = "客户id不可为空", groups = {CustomerMainDTO.Star.class})
    @ApiModelProperty(value = "客户id")
    private Long customerId;

    /**
     * 关注true/取关false
     */
    @NotNull(message = "是否关注不可为空", groups = {CustomerMainDTO.Star.class})
    @ApiModelProperty(value = "是否关注")
    private Boolean star;
}
